﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Manage_basisset_ClassDetail : AdminPageBase
{
    protected int cMenuId;
    protected int classid=0;
    private string returnURL;
    protected void Page_Load(object sender, EventArgs e)
    {
        CheckAdmin();
        GetUserPermisions();
        cMenuId=MenuId;
        GetClassId();
        returnURL = Request.QueryString["returnURL"].ToString();
    }
     protected void CheckAdmin()
    {
        if (AdminSessionHelper.UserDetails == null)
        {
            JsHelper.TopAlertRedirect("请先登录", "../login.aspx", this.Page);
        }


    }
     protected void GetClassId()
     {
         if (Request.QueryString["id"] != null)
         {
             classid = Convert.ToInt32(Request.QueryString["id"]);
            
         }
     }
     protected void btnreturn_Click(object sender, EventArgs e)
     {
         Response.Redirect(returnURL);
     }
}